namespace CloudNinja.Metering
{
    using System;

    public interface ITickTock : IDisposable
    {
        void Start();

        void Stop();

        void RegisterWork(string name, Action work, TimeSpan rerunInterval);

        bool UnregisterWork(string name);
    }
}